File: /var/www/html/orbidirectory.com/database/migrations/2024_12_17_092724_create_seos_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('seos', function (Blueprint $table) {
$table->id();
$table->string('route_name');
$table->string('meta_title');
$table->text('meta_keywords');
$table->text('meta_description');
$table->string('canonical_tag')->nullable();
$table->string('og_title')->nullable();
$table->text('og_description')->nullable();
$table->string('og_image')->nullable();
$table->string('og_url')->nullable();
$table->string('twitter_card')->nullable();
$table->string('twitter_title')->nullable();
$table->text('twitter_description')->nullable();
$table->string('twitter_image')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('seos');
}
};